package cn.two.dabeiphotov2.mapper;

import cn.two.dabeiphotov2.pojo.dto.OrderListDto;
import cn.two.dabeiphotov2.pojo.entity.OrderList;
import cn.two.dabeiphotov2.pojo.vo.OrderListUpdateVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderListMapper {
    List<OrderList> select();

    void insert(OrderList orderList);

    void deleteById(int id);

    int update(OrderListDto orderListDto);

    OrderListUpdateVo selectById(int id);
}
